//
//  myview.m
//  iNews
//
//  Created by lanou3g on 14-12-15.
//  Copyright (c) 2014年 张在青. All rights reserved.
//

#import "myview.h"

@implementation myview

-(void)dealloc{
    [_myTab release];
    
    [super dealloc];

}
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        
        
        [self addallviews];
    }
    return self;
}


-(void)addallviews{

    self.myTab = [[[UITableView alloc] initWithFrame:self.bounds style:UITableViewStyleGrouped] autorelease];
    
    [self addSubview:self.myTab];

   

}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
